- Author:
- Soroush <ssaf006@aucklanduni.ac.nz>
- Date:
- 2018-06-25 19:01:14+12:00
- Desc:
- adding new examples
- Permanent Source URI:
- https://models.cellml.org/workspace/43b/rawfile/d8de10edb753792c2741c0619a65288ffcbddecc/BG Tutorial Biochemical Systems/PKPD.cellml
<?xml version='1.0'?>
<model name="PKPD_RacemicWarfarin" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:xlink="http://www.w3.org/1999/xlink">
<import xlink:href="Units.cellml">
<units name="per_mol" units_ref="per_mol"/>
<units name="J_per_mol" units_ref="J_per_mol"/>
<units name="J_per_mol_K" units_ref="J_per_mol_K"/>
<units name="mol_per_s" units_ref="mol_per_s"/>
<units name="per_s" units_ref="per_s"/>
<units name="g_per_s" units_ref="g_per_s"/>
<units name="g_per_l" units_ref="g_per_l"/>
<units name="l_per_s" units_ref="l_per_s"/>
</import>
<component name="state">
<variable name="t" units="second"/>
<!-- State variables-->
<variable initial_value="0.001" name="q_A1" units="gram"/>
<variable initial_value="0" name="q_A2" units="gram"/>
<variable initial_value="100" name="q_PCA" units="dimensionless"/>
<variable name="q_C" units="g_per_l"/>
<variable name="v_1" units="g_per_s"/>
<variable name="v_2" units="g_per_s"/>
<!-- Parameters-->
<variable initial_value="8.1" name="k_V" units="litre"/>
<variable initial_value="3.722e-5" name="k_CL" units="l_per_s"/>
<variable initial_value="3.333e-5" name="k_1f" units="per_s"/>
<variable name="k_2f" units="per_s"/>
<variable initial_value="1" name="E_max" units="dimensionless"/>
<variable name="E" units="dimensionless"/>
<variable initial_value="0.0015" name="C_50" units="g_per_l"/>
<variable initial_value="1.361e-5" name="k_PCA" units="per_s"/>
<variable initial_value="100" name="R_in" units="dimensionless"/>
<!-- State equations-->
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>t</ci>
</bvar>
<ci>q_A1</ci>
</apply>
<apply>
<minus/>
<ci>v_1</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>t</ci>
</bvar>
<ci>q_A2</ci>
</apply>
<apply>
<minus/>
<ci>v_1</ci>
<ci>v_2</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>t</ci>
</bvar>
<ci>q_PCA</ci>
</apply>
<apply>
<times/>
<ci>k_PCA</ci>
<apply>
<minus/>
<apply>
<times/>
<ci>R_in</ci>
<ci>E</ci>
</apply>
<ci>q_PCA</ci>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>v_1</ci>
<apply>
<times/>
<ci>k_1f</ci>
<ci>q_A1</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>v_2</ci>
<apply>
<times/>
<ci>k_2f</ci>
<ci>q_A2</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>q_C</ci>
<apply>
<divide/>
<ci>q_A2</ci>
<ci>k_V</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>E</ci>
<apply>
<minus/>
<cn cellml:units="dimensionless">1</cn>
<apply>
<divide/>
<apply>
<times/>
<ci>E_max</ci>
<ci>q_C</ci>
</apply>
<apply>
<plus/>
<ci>C_50</ci>
<ci>q_C</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>k_2f</ci>
<apply>
<divide/>
<ci>k_CL</ci>
<ci>k_V</ci>
</apply>
</apply>
</math>
</component>
</model>